using UnityEngine;
using System.Collections;

public class AudioFollower : MonoBehaviour 
{
	
	public Transform target;
	
	// Use this for initialization
	void Start () 
	{
		if(target==null)
		{
			Debug.Log("Audio follower target is null");
		}
	}
	
	// Update is called once per frame
	void Update () 
	{
		if(target!=null)
		{
			transform.position = target.position;
		}
	}
}
